#include <iostream>
using namespace std;

template <class ElemType> ElemType f(ElemType x) { return x * (ElemType)5.1; }

template <class ElemType> void f(ElemType x, ElemType y) {
    x = x * 1.1;
    y = y * 1.1;
    cout << x << endl;
    cout << y << endl;
}

int main() {
    cout << f(3) << endl;
    f(1, 2);
    f(1.0, 2.0);

    return 0;
}
